package cn.lf.exception;

import lombok.Data;

/**
 * 自定义异常
 * @author guoyy
 */
@Data
public class SelfException extends RuntimeException {

    private int code;

    private String msg;

    public SelfException(int code,String msg){
        super(msg);
        this.code=code;
        this.msg=msg;
    }

}
